<include file="Public/head"/>
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.css" />
<script src="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.js" type="text/javascript"></script>
<script src="http://img1.isou365.cn/paimai/yunying/js/city.js" type="text/javascript"></script>
<style>
    .xuanzhe ul li .menDao1{width:300px;}
    .xuanzhe ul li .menDao1 a{display:block;background:#cecece;color:#303030;float:left;width:36px; text-align:center;height:20px; line-height:20px; cursor:pointer;}
    .xuanzhe ul li .menDao1 .menHover{ background:#20ab4f;color:#fff;}
    .xuanzhe .lift-truck{width:280px;padding:10px;display:block; background:#e1e1e1;border-radius:5px;margin-left:60px;margin-top:-10px;}
    .xuanzhe .lift-truck #taker_phone,.xuanzhe .lift-truck #taker_sex,.xuanzhe .lift-truck #taker_card,.xuanzhe .lift-truck #take_car_num{width:280px; display:block;height:30px; line-height:30px; text-align:left;}
    .xuanzhe .lift-truck span em{float:left; display:block;width:60px; text-align:right;}
</style>
<include file="Public/common_header"/>
<div class="mian">
    <include file="Public/sidebar" menu="shgl.csyc"/>
    <div class="mianR">
        <h3 class="yonghu"> 车商验车详情</h3>
        <div class="chezhu-xinxi">
            <div class="xinxi-conter xinxi-conter1" style="background: none;border: none">
                <h4 class="order_no">拍卖单号：<b>{$detail.order_no}</b></h4>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车商信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车商姓名</em><em class="name-text">{$detail.contact_person}</em>
                        <em>车商电话</em><em class="dian-hua">{$detail.contact_mobile}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车辆信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车型</em><em class="name-text">{$detail.model}</em>
                        <em>排放标准</em><em class="dian-hua">{$detail.emission}</em>
                    </li>

                    <li class="clearfix">
                        <em>初登日期</em><em class="name-text">{$detail.first_reg_date}</em>
                        <em>颜色</em><em class="dian-hua">{$detail.car_color}</em>
                    </li>
                    <li class="clearfix">
                        <em>表显里程</em><em class="name-text">{$detail.pointer_mileage}万公里</em>
                        <em>车况级别</em><em class="name-text">{$detail.composite_state}{$detail.accident_level}</em>
                    </li>
                    <li class="clearfix">
                        <em>车辆注册地</em><em class="name-text">{$detail.reg_city}</em>
                        <em>车架号</em><em class="name-text">{$detail.vin}</em>
                    </li>                    
                    <li class="clearfix">
                        <em>过户限制</em><em class="name-text">{$transfer_type[$detail[transfer_limit]]}</em>
                        <em>车牌号</em><em class="name-text">{$detail.plate_prefix}{$detail.plate_suffix}</em>
                    </li>
                    <li class="clearfix">
                        <em>渠道来源</em><em class="name-text">
                            <if condition="$car_detail.comefrom neq ''">
                            <?php if(empty($car_detail['comefrom_url'])):?>
                              <?php echo $show_from[$car_detail['comefrom']];?>
                            <?php else: ?>
                              <a href="{$car_detail.comefrom_url}" target="_blank" rel="noreferrer"><?php echo $show_from[$car_detail['comefrom']];?></a>
                            <?php endif;?>
                            <else/>
                              未知
                            </if>
                        </em>
                        <em>所在地</em><em class="name-text">{$detail.location_area_name}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>拍卖信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>竞拍结束时间</em><em class="name-text">{$detail.bidding_end_time}</em>
                        <em>拍卖最高价</em><em class="dian-hua">{:format_money($bestPrice)}元</em>
                    </li>
                    <li class="clearfix">
                        <em>保留价</em><em class="name-text">{:format_money($detail['reserve_price'])}</em>
                        <?php if($detail['is_consult'] == 1):?>
                          <em>磋商成交价</em>
                          <em class="dian-hua">{:format_money($detail['success_price']+$detail['company_subsidies'])}</em>
                        <?php else:?>
                          <em>确认成交价</em>
                          <em class="dian-hua">{:format_money($detail['success_price'])}</em>
                        <?php endif;?>
                    </li>
                    <li class="clearfix">
                        <em>公司补贴</em><em class="name-text">
                        <?php echo (isset($detail['is_consult']) && $detail['is_consult'] == 1) ? $detail['company_subsidies'] :  '无'; ?>
                        </em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>评估师信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>评估师姓名</em><em class="name-text">{$detail.checker_name}</em>
                        <em>评估师电话</em><em class="dian-hua">{$detail.checker_mobile}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <?php if (isset($detail['car_source']) && $detail['car_source'] == 1) { ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>代驾信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>代驾姓名</em><em class="name-text">{$detail.driver_name}</em>
                        <em>代驾公司</em><em class="dian-hua">{$detail.driver_company}</em>
                    </li>
                    <li class="clearfix">
                        <em>代驾电话</em><em class="name-text">{$detail.driver_phone}</em>
                        <em>代驾出发时间</em><em class="name-text">
                        <?php if(!empty($detail['depart_time']) && $detail['depart_time'] > 0) { ?>
                        {$detail.depart_time|strtotime|date='Y-m-d H:i',###}
                        <?php } ?>
                        </em>
                    </li>
                </ul>
            </div>
            </br>
            <?php } ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>复检信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车况复检员</em><em class="name-text">{$detail.condition_checker_name}</em>
                        <em>复检时间</em><em class="name-text">
                        <?php if(!empty($detail['recheck_time'])){ ?>
                        {$detail.recheck_time|strtotime|date='Y-m-d H:i',###}
                        <?php } ?>
                        </em>
                    </li>
                    <li class="clearfix">
                        <em>复检备注</em><em class="name-text">{$detail.recheck_remark}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>验车信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>验车时间</em><em class="name-text">
                        <?php if (!empty($detail['check_done_time']) && strtotime($detail['check_done_time']) > 0) { ?>
                            {$detail.check_done_time|strtotime|date='Y-m-d H:i',###}
                        <?php } ?>
                        </em>
                    </li>
                    <li class="clearfix">
                        <em>验车备注</em><em class="name-text">{$detail.dealer_check_remark}</em>
                    </li>
                </ul>
            </div>
        </div>
        <h3 class="yonghu">系统跟踪日志</h3>
        <div class="yonghuText">
            <ul>
                <volist name="carCheckLogList" id="list" key="k">
                    <li class="{$k%2==0?'xitongBg':''} clearfix">
                        <em class="huShi">{$list.create_at}</em>
                        <em>{$list.emp_name}</em>
                        <em>{$list.action}</em>
                        <em class="huShi">{$list.remark}</em>
                    </li>
                </volist>
            </ul>
        </div>
        <div class="yongBtn1">
            <input class="quxiao" type="submit" value="关闭" onclick="window.close();">
        </div>
    </div>
    <div class="clear"></div>
</div>